package cn.tedu.demo.doy2;

public class Context {
        private Tom tom;
        private Tiger tiger;

        public Tom getTom() {
            return tom;
        }

        public void setTom(Tom tom) {
            this.tom = tom;
        }

    public Tiger getTiger() {
        return tiger;
    }

    public void setTiger(Tiger tiger) {
        this.tiger = tiger;
    }

    @Override
    public String toString() {
        return "Context{" +
                "tom=" + tom +
                ", tiger=" + tiger +
                '}';
    }
}


